<div class="admin-answers">
    <h2>回答管理</h2>
    
    <!-- 搜索和操作区域 -->
    <div class="search-actions">
        <div class="search-bar">
            <input type="text" id="answerSearchInput" placeholder="搜索回答内容..." />
            <button class="btn btn-primary" onclick="searchAnswers()">搜索</button>
        </div>
        <select id="answerStatusFilter">
            <option value="all">全部状态</option>
            <option value="normal">正常</option>
            <option value="hidden">已隐藏</option>
        </select>
    </div>
    
    <!-- 回答列表表格 -->
    <div class="table-container">
        <table class="data-table">
            <thead>
                <tr>
                    <th>ID</th>
                    <th>所属问题</th>
                    <th>回答者</th>
                    <th>内容摘要</th>
                    <th>是否采纳</th>
                    <th>创建时间</th>
                    <th>操作</th>
                </tr>
            </thead>
            <tbody id="answerTableBody">
                <tr>
                    <td colspan="7" style="text-align: center; padding: 40px;">
                        <p>加载中...</p>
                    </td>
                </tr>
            </tbody>
        </table>
    </div>
    
    <!-- 分页控件 -->
    <div id="answerPagination" class="pagination-container"></div>
</div>